package com.heisenhub.common.redis.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @author sen
 * @description redis 订阅发布
 * @date 2024/1/18 10:36
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface RedisMessageListener {
    String topic();
}
